//
//  OrderManagerService.h
//  YYZB
//
//  Created by BY_R on 16/3/29.
//
//

#import <Foundation/Foundation.h>
#import "WebService.h"
@interface OrderManagerService : WebService
//根据帮工Id获取订单我的订单首页订单数量统计
- (void)OrderCount:(NSString *)helperid completionHanlder:(void (^)(NSArray *items, NSError *error))completionHanlder;
//待服务订单(抢单页面)
-(void)waitServiceOrder:(NSString *)helperId  pageNo:(NSString*)pageno pageSize:(NSString *)pagesize completionHanlder:(void (^)(NSArray * items,NSError * error))completionHanlder;

//抢单
- (void)grabOrder:(NSString *)helperid OrderId:(NSString *)orderid HelperAreaId:(NSString*)helperid
completionHanlder:(void (^)(NSArray *items, NSError *error))completionHanlder;

-(void)getAllOrder:(NSString*)helpid
          distance:(NSString*)distanceorder
         dateOrder:(NSString*)dateorder
   distanceAnddate:(NSString*)distanceAnddate
         serviceId:(NSString*)serviceid
         longitude:(NSNumber*)longitude
          latitude:(NSNumber*)latitude
            pageNo:(NSNumber*)pageno
          pageSize:(NSNumber *)pagesize
        completion:(void (^)(NSArray * items,NSError * error))completionHanlder;


//updateOrderStatus
@end
